//
//  UIFont+Size.m
//  huang
//
//  Created by huangshaobin on 2016/12/23.
//  Copyright © 2016年 huangshaobin. All rights reserved.
//

#import "UIFont+Size.h"

@implementation UIFont (Size)

+ (UIFont *)adaptedBoldFontSize:(CGFloat)size
{
    return [UIFont fontWithName:@"PingFang SC Bold" size:size];
}

+ (UIFont *)adaptedFontSize:(CGFloat)size
{
    return [UIFont fontWithName:@"PingFang SC" size:size];
}

+ (UIFont *)fontButton
{
    return [self adaptedFontSize:14];
}

+ (UIFont *)fontTitle
{
    return [self adaptedBoldFontSize:16];
}

+ (UIFont *)fontSubhead
{
    return [self adaptedBoldFontSize:14];
}

+ (UIFont *)fontContent
{
    return [self adaptedFontSize:14];
}

+ (UIFont *)fontCaption
{
    return [self adaptedFontSize:12];
}

+ (UIFont *)fontFootnote
{
    return [self adaptedFontSize:10];
}

@end
